#ifndef CBITMAPFONT_H
#define CBITMAPFONT_H

#include <Windows.h>

class CBitmapFont
{
public:
	CBitmapFont();
	void Draw(const char* szTextToPrint, int nPosX, int PosY, float fScale, DWORD dwColor);

	int GetCharWidth(){ return m_nCharWidth; }
	int GetCharHeight(){ return m_nCharHeight;}
	int GetNumColumns(){ return m_nNumCols; }
	
	char GetStartChar(){ return m_cStartChar; }
	int GetImageID(){ return m_nImageID; }

	void SetBitmapInformation(int _nCharWidth, int _nCharHeight, int _nNumCols, char _cStartChar, int _nImageID);
	void SetCharWidth(int _nCharWidth){  m_nCharWidth = _nCharWidth; }
	void SetCharHeight(int _nCharHeight){ m_nCharHeight = _nCharHeight;}
	void SetNumColumns(int _nNumCols){ m_nNumCols = _nNumCols; }
	
	void SetStartChar(char _cStartChar){ m_cStartChar = _cStartChar; }
	void SetImageID(int _nImageID){ m_nImageID = _nImageID; }

private:
	int m_nCharWidth;
	int m_nCharHeight;
	int m_nNumCols;

	char m_cStartChar;
	int m_nImageID;

	RECT CellAlgorithm(int id);
};

#endif